﻿Ext.define('SmartClient.view.Viewport',
   {
      extend: 'Ext.container.Viewport',
      layout: 'fit',
      border: false,
      alias: 'widget.mainviewport',
      id: 'viewport',

      initComponent: function()
      {
         var me = this,
             view = Ext.create('SmartClient.view.ProductsView');

         Ext.apply(me, {
            items:
               [
                  view
               ]
         });
         me.callParent(arguments);
      }
   });